package vcp.client.GUI.events;

import java.util.EventObject;

/**
 * 
 * @author VCP team
 *         <p>
 *         responsible for connections
 *         </p>
 * 
 */
public class ConnectionRequestEvent extends EventObject
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** connection port number **/
	private final Integer port;

	public Integer getPort ()
	{
		return this.port;
	}

	/** connection host number **/
	private final String host;

	public String getHost ()
	{
		return this.host;
	}

	/**
	 * Connection request fill data
	 * 
	 * @param object
	 * @param host
	 * @param port
	 */
	public ConnectionRequestEvent ( Object object, String host, Integer port )
	{
		super(object);
		this.host = host;
		this.port = port;
	}

}
